package cn.samler.diandi.api.model.io.request.user;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class ResetUsername {
    @NotBlank(message = "用户名不能为空")
    @Length(min = 6, max = 16, message = "用户名限定在6~16位之间")
    private String username;
}
